<!DOCTYPE html>
<html>
<head>
    <title>首页 {$site_info.site_name|default=''}</title>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width,initial-scale=1.0,user-scalable=no" />

    <meta name="keywords" content="{$site_info.site_seo_keywords|default=''}"/>
    <meta name="description" content="{$site_info.site_seo_description|default=''}">
    <link rel='stylesheet' id='sytle-css'  href='__TMPL__/public/assets/css/1111.css' type='text/css' media='all' />
    <link rel='stylesheet' id='wp-block-library-css'  href='__TMPL__/public/assets/css/style.min.css' type='text/css' media='all' />
    <script type='text/javascript' src='__TMPL__/public/assets/js/swiper.min.js'></script>
    <script type='text/javascript' src='__TMPL__/public/assets/js/html5shiv.js'></script>
    <script type='text/javascript' src='__TMPL__/public/assets/js/selectivizr-min.js'></script>
    <script type='text/javascript' src='__TMPL__/public/assets/js/jquery.min.js'></script>
    <script type='text/javascript' src='__TMPL__/public/assets/js/jiazai.js'></script>
    <script src="__TMPL__/public/assets/js/slider-x.js"></script>
    <link rel='stylesheet' type='text/css' href='__TMPL__/public/assets/css/nav.css'/>
    <link rel="stylesheet" href="__TMPL__/public/assets/css/slider-x.css">

</head>
<body>
<nav class="header-web">
    <php>

    </php>

    <div class="ed">
        <a href="/" class="logo" title="{$site_name}" rel="home"><img src="__TMPL__/public/assets/images/logo.png" alt="{$site_name}"></a>

        <button id="toggle-search" class="header-button"></button>
        <form id="search-form" method="POST" class="search" action="" >
            <input class="text" type="text" name="keyword" id="button-keyword" placeholder="请输入..." value="{$keyword|default=''}">
            <button class="butto" id="button-form-search">搜索</button>
        </form>
        <script>
            $("#button-form-search").click(function(){
                 var keyword = $("#button-keyword").val();
                var url = "/search/"+keyword;
                $("#search-form").attr('action',url);
                $("#search-form").submit();
                return;
            });

        </script>

        <div class="nav-menu">
            ...
        </div>
        <p id="cover" > </p>
        <ul class="nav-list">
            <volist name="nav_menus" id="v" key="k">

                <if condition="count($v['children']) gt 1">
                    <li id="menu-item-{$k}" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-has-children menu-item-{$k}"><a href="{$v.href}">{$v.name}</a>
                        <ul class="sub-menu">
                            <volist name="v.children" id="vv" key="kk" >
                                <li id="menu-item-20{$k}" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-20{$k}"><a target="_blank" href="{$vv.href}">{$vv.name}</a></li>
                            </volist>
                        </ul>
                    </li>
                    <else />
                    <li id="menu-item-{$k}" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-home menu-item-{$k}"><a href="{$v.href}">{$v.name}</a></li>
                </if>
            </volist>

        </ul>


        <script type="text/javascript" src="__TMPL__/public/assets/js/index.js"></script>
    </div>
</nav>